﻿/**
 * YouTube Event Class - Created by FlashFrameLess Team OCT/2008
 *
 * @author		FabioTNT / FlashFrameLessTeam - http://www.flashframeless.com/
 * @version		1.0
 */

package com.flashframeless.webapis.youtube {
	
	import flash.events.Event;
	
	public class YouTubeEvent extends Event {
		
		public static var FLV_COMPLETE	: String = "onFlvComplete";
		public static var FEED_COMPLETE	: String = "onFeedComplete";
		
		private static var _videoURL:String;
		
		public function YouTubeEvent( _type:String, _param:Object = null ):void{
			
			super( _type );
			
			for ( var i:* in _param ) {
				
				this[i] = _param[i];
				
			}
			
		}
		
		public function set videoURL( url:String ):void {
			
			_videoURL = url;
			
		}
		
		public function get videoURL():String {
			
			return _videoURL;
			
		}		
	}
}